html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: Roboto,
  -apple-system,
  BlinkMacSystemFont,
  'Helvetica Neue',
  'Segoe UI',
  'Oxygen',
  'Ubuntu',
  'Cantarell',
  'Open Sans',
  sans-serif;
  color: #333333;
}

* {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

#root {
  height: 100%;
}

.arco-layout {
  height: 100%;
}

.page-wrapper {
  padding: 16px;

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.note-list {
  margin-top: 120px;

  .title {
    line-height: 32px;
  }

  .item {
    display: inline-flex;
    margin-right: 16px;
    margin-bottom: 16px;

    .note-image {
      border: 1px solid #f6f6f6;
      border-radius: 4px;
    }
  }
}

.favorites-list {
  padding: 4px 8px;

  .favorites-header {
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;

    .icon {
      margin-right: 16px
    }
  }

  .fav-item {
    line-height: 32px;
    padding-left: 44px;
    cursor: pointer;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    &:hover {
      color: #165DFF;
    }
  }
}

.ml-8 {
  margin-left: 8px;
}

.ml-12 {
  margin-left: 12px;
}

.mr-12 {
  margin-right: 12px;
}

.note-card {
  position: relative;
  display: inline-block;
  width: 200px;

  .cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: none;
    cursor: pointer;
  }

  &:hover {
    .cover {
      display: block;
    }
  }

  .more-action {
    float: right;
    margin-right: 12px;
    margin-top: 8px;
    &:hover {
      color: #165DFF;
    }
  }

  .title {
    line-height: 32px;
    font-size: 14px;
    text-align: center;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}


.page-edit {
  height: 100%;
  display: flex;
  flex-direction: column;

  .header {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg-2);
  }

  .editor-wrapper {
    background-color: #efefef;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;

    .editor {
      flex: 1;
      width: 1000px;
      padding: 16px 36px;
      margin: 0 auto;
      background-color: #fff;
      overflow-y: auto;
    }
  }
}

.popup-menu{
  background: #ffffff;
  border: 1px solid #f6f6f6;
}

